<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2015-5-23
 * Time: 13:36
 */

namespace doumiaoduo\lhgdialog;


use yii\web\AssetBundle;

class LhgDialogAsset extends AssetBundle{
    /*
     * lhgdialog.js - 未压缩的lhgDialog弹出窗口组件代码源文件
     * lhgdialog.min.js - 压缩的jQuery版的lhgDialog弹出窗口组件代码
     * lhgcore.lhgdialog.min.js - 压缩的独立版本的lhgDialog弹出窗口组件代码
     */

    public $sourcePath = '@doumiaoduo/lhgdialog/assets';
    public $css = [
        'skins/default.css',
    ];

    public $depends = [
        'yii\web\JqueryAsset',
    ];

    public function init(){
        $this->js=YII_DEBUG?['lhgdialog.js']:['lhgdialog.min.js'];
    }


}